package com.hoyo;

import java.io.InputStream;
import java.util.Iterator;
import java.util.Random;

import org.apache.xerces.parsers.XMLDocumentParser;
import org.dom4j.Attribute;
import org.dom4j.Document;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
import org.hibernate.validator.internal.xml.XmlParserHelper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

import com.hoyo.domain.Bullet;

@SpringBootApplication
public class HoyoApplication extends SpringBootServletInitializer{
	
	public static void main(String[] args) {
//		SpringApplication.run(HoyoApplication.class, args);
	}
//	
	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		// TODO Auto-generated method stub
		builder.sources(this.getClass());
		return super.configure(builder);
	}
}
